package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排课信息对象 sc_cla_time
 * 
 * @author ruoyi
 * @date 2024-01-10
 */
public class ScClaTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排课编号 */
    private Long courseTimeId;

    /** 规则编号 */
    @Excel(name = "规则编号")
    private Long ruleId;

    /** 班级id */
    @Excel(name = "班级id")
    private Long claId;

    /** 上课日期 */
    @Excel(name = "上课日期")
    private String claDate;

    /** 教师 */
    @Excel(name = "教师")
    private Long teacherId;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 状态 1:待上课 2:已上课
     */
    @Excel(name = "状态")
    private String status;


    /** 上课教室号 */
    @Excel(name = "上课教室号")
    private String roomId;

    /** 上课教学楼 */
    @Excel(name = "上课教学楼")
    private String roomName;

    /** 课程 */
    @Excel(name = "课程")
    private String course;

    /** 上课开始时间 */
    @Excel(name = "上课开始时间")
    private String startTime;

    /** 上课结束时间 */
    @Excel(name = "上课结束时间")
    private String endTime;

    /** 课时消耗 */
    @Excel(name = "课时消耗")
    private BigDecimal payTotalHour;

    /** 到课人数 */
    @Excel(name = "到课人数")
    private Integer atClassCnt;

    /** 请假人数 */
    @Excel(name = "请假人数")
    private Integer leaveCnt;

    /** 创建者 */
    private String createUser;

    /** 更新者 */
    private String lastUpdateUser;

    /** 课程id */
    private String courseId;

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    /** 创建时间 */
    private Date create_time;

    /** 更新时间 */
    private Date lastUpdateTime;





    public void setCourseTimeId(Long courseTimeId)
    {
        this.courseTimeId = courseTimeId;
    }

    public Long getCourseTimeId() 
    {
        return courseTimeId;
    }
    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setClaId(Long claId) 
    {
        this.claId = claId;
    }

    public Long getClaId() 
    {
        return claId;
    }


    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setRoomId(String roomId) 
    {
        this.roomId = roomId;
    }

    public String getRoomId() 
    {
        return roomId;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setCourse(String course) 
    {
        this.course = course;
    }

    public String getCourse() 
    {
        return course;
    }

    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setLastUpdateUser(String lastUpdateUser) 
    {
        this.lastUpdateUser = lastUpdateUser;
    }

    public String getLastUpdateUser() 
    {
        return lastUpdateUser;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }

    public Integer getLeaveCnt() {
        return leaveCnt;
    }

    public void setLeaveCnt(Integer leaveCnt) {
        this.leaveCnt = leaveCnt;
    }

    public String getClaDate() {
        return claDate;
    }

    public void setClaDate(String claDate) {
        this.claDate = claDate;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getPayTotalHour() {
        return payTotalHour;
    }

    public void setPayTotalHour(BigDecimal payTotalHour) {
        this.payTotalHour = payTotalHour;
    }

    public Integer getAtClassCnt() {
        return atClassCnt;
    }

    public void setAtClassCnt(Integer atClassCnt) {
        this.atClassCnt = atClassCnt;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseTimeId", getCourseTimeId())
            .append("ruleId", getRuleId())
            .append("claId", getClaId())
            .append("teacherId", getTeacherId())
            .append("roomId", getRoomId())
            .append("roomName", getRoomName())
            .append("course", getCourse())

            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("lastUpdateUser", getLastUpdateUser())
            .append("lastUpdateTime", getLastUpdateTime())
            .toString();
    }
}
